package com.example.bookstore.service;

import com.example.bookstore.common.api.CommonResult;
import com.example.bookstore.mbg.model.User;

/**
 * @author: rain
 * @date: 2020/5/8 12:08
 * @description:
 */
public interface ManagerService {

    CommonResult login(String managerid,String password);

    CommonResult deleteCommentByDealId(String Dealid);

    CommonResult ModifyUserInformation(User user);

    CommonResult AddBook(String bookid,String bname,String Descri,String author,String Press,double price,String url,int num);

    CommonResult DeleteBookByName(String bname);

    CommonResult ModifyBook(String bookid,String bname,String Descri,String author,String Press,double price,String url,int num);

    CommonResult AddNumInBook(String bookid,String bookname,int num);



}
